<template>
  <div id="themeDetail">
    <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
      <el-tab-pane label="配置信息" name="themeDetail">
        <div class="detail-box">
          <ConfigMsg></ConfigMsg>
        </div>
      </el-tab-pane>
      <!-- 审批 -->
      <el-tab-pane label="附件上传" name="checkDetail">
        <div class="detail-box">附件上传</div>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import ConfigMsg from '@/components/page/clopedia/service/theme/ConfigMsg'
export default {
  name:'themeDetail',
  components: {
    ConfigMsg
  },
  data() {
    return {
      activeName: 'themeDetail'

    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
}
</script>

<style lang="scss">
#themeDetail {
  min-height: calc(100% - 50px);
  .el-tabs {
    height: 100%;
    .el-tabs__header {
      margin-bottom: 0;
    }
    .el-tabs__content {
      .el-tab-pane {
        min-height: calc(100%);
        display: -webkit-flex;
        padding: 40px 0;
        .detail-box {
          padding: 0 200px 0 30px;
        }
      }
    }
  }
}
</style>